//
//  DBmodel.m
//  豆豆
//
//  Created by 月月 on 15/4/1.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "DBmodel.h"

@implementation DBmodel


- (void)dealloc
{
    [_model_name release];
    
    [super dealloc];
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        
    }
    return self;
}

-(instancetype)initWithmodel_id:(NSInteger)model_id model_name:(NSString *)model_name{
    self = [super init];
    if (self) {
        self.model_id = model_id;
        self.model_name = model_name;
    }
    return self;
}

+(DBmodel *)DBModelWithmodel_id:(NSInteger)model_id model_name:(NSString *)model_name
{
    DBmodel *model = [[DBmodel alloc] initWithmodel_id:model_id model_name:model_name];
    return [model autorelease];
}



@end
